package com.fpinjava.functions.exercise02_11;


public class FunctionExamples {

  public static <T, U, V> Function<U, Function<T, V>> reverseArgs(Function<T, Function<U, V>> f) {
    //入参 f  T ->(U,V)
    //返回 U -> (T,V)
    return (U t) -> (T u) -> f.apply(u).apply(t);
  }
}
